//
//  EMSSkillTrainingInfo.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 3/14/09.
//  Copyright 2009 __Vadim__CompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "EMSGeneralUtils.h"

@class EVECDCharacter;
@class EVECDAbstractSkill;
@class EVECDSkill;
@class EVECDLearnedSkill;

@class EMSSkillPlannerTreeNode;

@interface EMSSkillTrainingInfo : NSObject 

typedef struct  {
	int days;
	int hours;
	int minutes;
	int seconds;
} HumanNotationTime;

typedef struct {
	double location;
	double length;
} EMSRange;

+(int)skillPointsRequiredForLevel:(int)level rank:(int)rank;
+(int)percentCompletedForCurrentPoints:(int)currPoints level:(int)level rank:(int)rank;
+(int)levelForSkillPoints:(int)points rank:(int)rank;
+(NSTimeInterval)trainingTimeToNextLevelForLearnedSkill:(EVECDLearnedSkill*)aSkill;
+(NSTimeInterval)trainingTimeToLevel:(NSInteger)aLevel forSkill:(EVECDLearnedSkill*)aSkill;
+(NSTimeInterval)trainingTimeForLevel:(NSInteger)aLevel forLearnedSkill:(EVECDLearnedSkill*)aSkill;
+(double)skillPointsPerSecondForSkill:(EVECDLearnedSkill*)aSkill;
+(NSString*)romanNumeralFrontInt:(int)number;
+(HumanNotationTime)humanNotationTimeFromTimeInterval:(NSTimeInterval)totalSeconds;
+(EMSSkillPlannerTreeNode*)generateTreeForSkill:(EVECDLearnedSkill*)aSkill level:(int)aLevel;

@end